package org.bopis.general;


/**
 * Clase de constantes usadas en el aplicativo
 * @author i-fernandezmolina
 *
 */
public class Constantes {
	
	private static BopisProperties bopisProperties = BopisProperties.getInstance();
		
	//datos de la aplicacion
	public static String APP_HOST = bopisProperties.getProperty("app.host", "");
	public static String APP_PROTOCOL = bopisProperties.getProperty("app.protocol", "");
	public static String APP_PORT = bopisProperties.getProperty("app.port", "");
	public static String APP_NAME = bopisProperties.getProperty("app.name", "");	
	
	//datos de la base de datos
	public static String DB_CLASS = bopisProperties.getProperty("db.class", "");
	public static String DB_HOST = bopisProperties.getProperty("db.host", "");
	public static String DB_PORT = bopisProperties.getProperty("db.port", "");
	public static String DB_SCHEMA = bopisProperties.getProperty("db.schema", "");
	public static String DB_USER = bopisProperties.getProperty("db.user", "");
	public static String DB_PASS = bopisProperties.getProperty("db.pass", "");
	
	//rutas de ficheros
	public static final String RUTA_FECHAS = bopisProperties.getProperty("files.ruta.fechas", "");
	public static final String RUTA_BOPIS = bopisProperties.getProperty("files.ruta.bopis", "");
	
	//configuracion de JAVA MAIL
	public static final String MAIL_SMTP_HOST = bopisProperties.getProperty("mail.smtp.host", "");
	public static final String MAIL_SMTP_SOCKETFACTORY_PORT = bopisProperties.getProperty("mail.smtp.socketFactory.port", "");
	public static final String MAIL_SMTP_SOCKETFACTORY_CLASS = bopisProperties.getProperty("mail.smtp.socketFactory.class", "");
	public static final String MAIL_SMTP_AUTH = bopisProperties.getProperty("mail.smtp.auth", "");
	public static final String MAIL_SMTP_PORT = bopisProperties.getProperty("mail.smtp.port", "");
	public static final String MAIL_USER = bopisProperties.getProperty("mail.user", "");
	public static final String MAIL_PASSWORD = bopisProperties.getProperty("mail.password", "");
	public static final String MAIL_ACCOUNT = bopisProperties.getProperty("mail.account", "");
	
	//TEXTOS PARA LOS EMAILS
	public static final String EMAIL_ASUNTO_SOLICITUD_ACTIVACION = bopisProperties.getProperty("email.user.account.activate.request.title", "");
	public static final String EMAIL_MENSAJE_SOLICITUD_ACTIVACION = bopisProperties.getProperty("email.user.account.activate.request.message", "");
	public static final String EMAIL_ASUNTO_CONFIRMACION_CUENTA_ACTIVADA = bopisProperties.getProperty("email.user.account.activated.title", "");
	public static final String EMAIL_MENSAJE_CONFIRMACION_CUENTA_ACTIVADA = bopisProperties.getProperty("email.user.account.activated.message", "");
	public static final String EMAIL_ASUNTO_RESET_PASSWORD = bopisProperties.getProperty("email.user.reset.password.title", "");
	public static final String EMAIL_MENSAJE_RESET_PASSWORD = bopisProperties.getProperty("email.user.reset.password.message", "");
	public static final String EMAIL_ASUNTO_PASSWORD_RESETED = bopisProperties.getProperty("email.user.password.reseted.title", "");
	public static final String EMAIL_MENSAJE_PASSWORD_RESETED = bopisProperties.getProperty("email.user.password.reseted.message", "");
	
}